package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Daily;
import cn.wolfcode.trip.base.domain.DailyCommend;
import cn.wolfcode.trip.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DailyCommendMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DailyCommend record);

    DailyCommend selectByPrimaryKey(Long id);

    List<DailyCommend> selectAll();

    int updateByPrimaryKey(DailyCommend record);

    List<DailyCommend> queryForList(QueryObject qo);


    int getSequence(Integer typeId);

    List<DailyCommend> selectDailyCommendsByUserId(Long userId);
}